package net.hn.hnms.biz.material.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * Author: ly
 * 物资台账表
 *
 * @date 2022-08-26
 */
@Data
@ApiModel("物资台账表")
public class MaterialRecordVO extends BaseVO {
    @ApiModelProperty(value = "主键ID")
    private String recordId;
    @ApiModelProperty(value = "单证编号")
    private String recordCode;
    @ApiModelProperty(value = "单证类别")
    private String recordType;
    @ApiModelProperty(value = "物资编码")
    private String materialCode;
    @ApiModelProperty(value = "物资名称")
    private String materialName;
    @ApiModelProperty(value = "规格型号")
    private String specificationModel;
    @ApiModelProperty(value = "所属仓库")
    private String warehouse;
    @ApiModelProperty(value = "单价")
    private BigDecimal unitPrice;
    @ApiModelProperty(value = "数量")
    private Integer quantity;
    @ApiModelProperty(value = "单位")
    private String unit;
    @ApiModelProperty(value = "金额")
    private BigDecimal amount;
    @ApiModelProperty(value = "库存单价")
    private BigDecimal stockUnitPrice;
    @ApiModelProperty(value = "库存余量")
    private Integer stockQuantity;
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(
            pattern = "yyyy-MM-dd HH:mm:ss"
    )
    private Date createTime;
    @ApiModelProperty(value = "操作人ID")
    private String createPersonId;
    @ApiModelProperty(value = "操作人")
    private String createPerson;
    @ApiModelProperty(value = "供应商")
    private String supplier;
    @ApiModelProperty(value = "合同编号")
    private String contractCode;
    @ApiModelProperty(value = "删除标识 0正常 1删除")
    private String delFlag;
    @ApiModelProperty(value = "库存余额")
    private BigDecimal storeAmount;
    @ApiModelProperty(value = "矿编码")
    private String mineCode;
    @ApiModelProperty(value = "矿名称")
    private String mineName;
}









